package com.yang.SpringTest.annotation.aopLearn;

import com.yang.SpringTest.annotation.aopLearn.controller.AspectDemoController;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

/**
 * <p>AspectDemoTest测试类</p>
 *
 * @author By: chengxuyuanshitang
 * Package com.yang.SpringTest.annotation.aopLearn
 * Ceate Time 2024-04-13 16:42
 */
public class AspectDemoTest {

    public static void main (String[] args) {
        AnnotationConfigApplicationContext context = new AnnotationConfigApplicationContext (AspectDemoConfig.class);
        AspectDemoController aspectDemoController = context.getBean (AspectDemoController.class);
        aspectDemoController.demo ();
        context.close ();
    }
}

